﻿@model GameCode.Models.Admin.AndroidAppEditModel
@{
    ViewBag.Title = "游戏特权 - 安卓应用管理";
    Model.Caption = Model.IsNew ? "新增安卓应用" : "编辑安卓应用";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

@using (Html.BeginForm(new { act = "submit" }))
{
    @Html.HiddenFor(m => m.IsNew)
    @Html.HiddenFor(m => m.ID)
    <div class="ui-bar ui-bar-a">
        编辑
    </div>
    <div class="ui-body ui-body-a">
        <div data-role="fieldcontain">
            @Html.LabelFor(m => m.Version)
            @Html.TextBoxFor(m => m.Version, new Dict() { "data-mini:true" })
            @Html.ValidationMessageFor(m => m.Version, new { style = "color:Red" })
        </div>
        <div data-role="fieldcontain">
            @Html.LabelFor(m => m.Link)
            @Html.TextBoxFor(m => m.Link, new Dict() { "data-mini:true", "class:input_url" })
            @Html.ValidationMessageFor(m => m.Link, new { style = "color:Red" })
        </div>
        <div data-role="fieldcontain">
            @Html.Partial("Upload")
        </div>
        <input type="submit" value="确认"  data-inline="true" data-mini="true"  />
    </div>
}